package com.baizhi.dao;

import com.baizhi.entity.CmfzUser;
import com.baizhi.entity.CmfzUserDTO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface CmfzUserMapper {

    List<CmfzUser> selectCmfzUserDatagrid(@Param("start")int start,@Param("rows")int rows);

    int selectCmfzUserCount();

    void deleteSomeUsers(int[] ids);

    int selectBoys();

    void insertCmfzUser(CmfzUser cmfzUser);

    int selectIntervalUsers(@Param("startTime")Date startTime, @Param("endTime")Date endTime);

    List<CmfzUserDTO> selectUserCountMap();

    CmfzUser selectOneUser(Integer userId);

    void updatePassword(@Param("userId")Integer userId,@Param("userPassword")String userPassword);
}